﻿namespace LevelEditors
{
    using System;
    using UnityEngine;
    using UnityEngine.UI;

    public class UIInputField : MonoBehaviour
    {
        public int index;
        [SerializeField]
        private InputField m_inputField;
        [SerializeField]
        private Text m_labelText;

        private void Awake()
        {
        }

        public string label
        {
            get
            {
                return this.m_labelText.text;
            }
            set
            {
                this.m_labelText.text = value;
            }
        }

        public string text
        {
            get
            {
                return this.m_inputField.text;
            }
            set
            {
                this.m_inputField.text = value;
            }
        }
    }
}

